﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Users/Manage.Master" AutoEventWireup="true" CodeBehind="EditItems.aspx.cs" Inherits="OnlineAuction.Users.EditItems" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_Css" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_TopBar" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Content" runat="server">
    <table cellpadding="5" cellspacing="5" class="style1">
        <caption style="font-size: larger; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FF6600">Edit Item</caption>
        <tr>
            <td colspan="3">Item info: </td>
        </tr>
        <tr>
            <td>Category name: </td>
            <td colspan="2">
                <asp:DropDownList ID="ddlCategoryName" runat="server"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>Item name: </td>
            <td>
                <asp:TextBox ID="txtItemName" runat="server" Width="364px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtItemName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Item Image 1: </td>
            <td>
                <asp:FileUpload ID="fuItemImage1" runat="server" />
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Fill it!" ControlToValidate="fuItemImage1"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Item Image 2: </td>
            <td colspan="2">
                <asp:FileUpload ID="fuItemImage2" runat="server" />
            </td>
        </tr>
        <tr>
            <td>Item Image 3: </td>
            <td colspan="2">
                <asp:FileUpload ID="fuItemImage3" runat="server" />
            </td>
        </tr>
        <tr>
            <td>Item Image 4: </td>
            <td colspan="2">
                <asp:FileUpload ID="fuItemImage4" runat="server" />
            </td>
        </tr>
        <tr>
            <td>Item description: </td>
            <td colspan="2">
                <asp:TextBox ID="txtItemDescription" runat="server" TextMode="MultiLine" Width="523px" Height="150px" />
            </td>
        </tr>
        <tr>
            <td colspan="3">Auction info: </td>
        </tr>
        <tr>
            <td>Auction type: </td>
            <td colspan="2">
                <asp:RadioButtonList ID="rbtnAuctionTypeName" runat="server" Enabled="false"/>
            </td>
        </tr>
        <tr>
            <td>First price: </td>
            <td>
                <asp:TextBox ID="txtFirstPrice" runat="server" Width="160px" Enabled="false"/> (USD)
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtFirstPrice" Enabled="false"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Expectation price: </td>
            <td>
                <asp:TextBox ID="txtExpectationPrice" runat="server" Width="160px" Enabled="false"/> (USD)
            </td>
            <td>
                <asp:RequiredFieldValidator ID="rfvExpectationPrice" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtExpectationPrice" Enabled="false"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Time finish auction: </td>
            <td>
                <asp:TextBox ID="txtTimeFinishAuction" runat="server" Width="160px" Enabled="false"/> (MM/dd/yyyy HH:mm:ss)
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtTimeFinishAuction" Enabled="false"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Bid increment: </td>
            <td>
                <asp:TextBox ID="txtBidIncrement" runat="server" Width="160px" Enabled="false"/> (USD)
            </td>
            <td>
                <asp:RequiredFieldValidator ID="rfvBidIncrement" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtBidIncrement" Enabled="false"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Time increment: </td>
            <td>
                <asp:TextBox ID="txtTimeIncrement" runat="server" Width="160px" Enabled="false"/> (seconds)
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Fill it!" ControlToValidate="txtTimeIncrement" Enabled="false"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2">
                <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click"/>
                <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click"/>
            </td>
        </tr>
    </table>
</asp:Content>
